.TH "include/ccn/sockaddrutil.h" 3 "14 Sep 2011" "Version 0.4.1" "Content-Centric Networking in C" \" -*- nroff -*-
.ad l
.nh
.SH NAME
include/ccn/sockaddrutil.h \- sockaddr utilities 
.SH SYNOPSIS
.br
.PP
.SS "Functions"

.in +1c
.ti -1c
.RI "int \fBccn_charbuf_append_sockaddr\fP (struct \fBccn_charbuf\fP *, const struct sockaddr *)"
.br
.RI "\fIAppend a printable representation of sa (sans any port info) to the charbuf. \fP"
.in -1c
.SH "Detailed Description"
.PP 
sockaddr utilities 

Part of the CCNx C Library.
.PP
Copyright (C) 2010 Palo Alto Research Center, Inc.
.PP
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License version 2.1 as published by the Free Software Foundation. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 
.PP
Definition in file \fBsockaddrutil.h\fP.
.SH "Function Documentation"
.PP 
.SS "int ccn_charbuf_append_sockaddr (struct \fBccn_charbuf\fP * c, const struct sockaddr * sa)"
.PP
Append a printable representation of sa (sans any port info) to the charbuf. 
.PP
IPv6 addresses will be enclosed in square braces, as in the host part of a URI. 
.PP
\fBReturns:\fP
.RS 4
the port number (0 if no port number is available), or -1 for in case of an error. 
.RE
.PP

.PP
Definition at line 38 of file ccn_sockaddrutil.c.
.PP
Referenced by collect_faces_html(), collect_faces_xml(), and post_face_notice().
.SH "Author"
.PP 
Generated automatically by Doxygen for Content-Centric Networking in C from the source code.
